package com.movitech.mobile.cz.base.purchase.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.Version;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * <p>
 * 战略采购需求-需求明细
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("p_sp_required_detail")
@ApiModel
public class PSpRequiredDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 战略采购需求id
     */
    @ApiModelProperty(value = "战略采购需求id")
    @TableField("strategic_purchase_required_id")
    private String strategicPurchaseRequiredId;
    /**
     * 专业（s_strategic_category表id）
     */
    @ApiModelProperty(value = "专业（s_strategic_category表id）")
    @TableField("required_major_id")
    private String requiredMajorId;
    /**
     * 品类（s_strategic_category表id）
     */
    @ApiModelProperty(value = "品类（s_strategic_category表id）")
    @TableField("required_category_id")
    private String requiredCategoryId;
    /**
     * 工程量
     */
    @ApiModelProperty(value = "工程量")
    @TableField("engineering_amount")
    private Double engineeringAmount;
    /**
     * 金额（万元）
     */
    @ApiModelProperty(value = "金额（万元）")
    @TableField("engineering_money")
    private Double engineeringMoney;
    /**
     * 需求归属（集团或地区公司id）
     */
    @ApiModelProperty(value = "需求归属（集团或地区公司id）")
    @TableField("required_attribution_id")
    private String requiredAttributionId;
    /**
     * 产品等级
     */
    @ApiModelProperty(value = "产品等级")
    @TableField("product_grade")
    private String productGrade;
    /**
     * 做法
     */
    @ApiModelProperty(value = "做法")
    @TableField("make_thing_way")
    private String makeThingWay;
    /**
     * 使用部位
     */
    @ApiModelProperty(value = "使用部位")
    @TableField("use_location")
    private String useLocation;
    /**
     * 类别
     */
    @ApiModelProperty(value = "类别")
    @TableField("required_genre")
    private String requiredGenre;
    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    @TableField("required_specifications")
    private String requiredSpecifications;


}
